import logging

#封装日志写方法
class log_action():
    log_django = logging.getLogger('log')
    # def __init__(self):
    #     #获取log logger
    #     self.log_django = logging.getLogger('log')

    # def tool_info(self,info):
    #     self.log_django.info("在Tool里:{0}".format(info))
    #
    # def tool_error(self, info):
    #     self.log_django.error("在Tool里:{0}".format(info))
    #
    # def tool_debug(self, info):
    #     self.log_django.debug("在Tool里:{0}".format(info))
    #
    # def filemanage_info(self,info):
    #     self.log_django.info("在filemanage里:{0}".format(info))
    #
    # def filemanage_error(self, info):
    #     self.log_django.error("在filemanage里:{0}".format(info))
    #
    # def filemanage_debug(self, info):
    #     self.log_django.debug("在filemanage里:{0}".format(info))
    #
    # def generyaml_info(self,info):
    #     self.log_django.info("在generyaml里:{0}".format(info))
    #
    # def generyaml_error(self, info):
    #     self.log_django.error("在generyaml里:{0}".format(info))
    #
    # def generyaml_debug(self, info):
    #     self.log_django.debug("在generyaml里:{0}".format(info))